package com.kitwee.serialport.decoder.mitsubishi;

import com.kitwee.serialport.decoder.InstructionDecoder;

/**
 * 三菱FX系统解码器
 *
 * @author szhyde
 */
public class FX3UToSpeedDecoder extends InstructionDecoder {

    @Override
    public synchronized Object decode(byte[] source) {
        byte[] tempByte = new byte[1];
        System.arraycopy(source, 1, tempByte, 0, tempByte.length);
        return byteArray2int(tempByte);
    }

}
